home *** CD-ROM | disk | FTP | other *** search
/ Steal This CD / steal_this_cd.iso / Chapter 20 - Adware and Spyware / enough.exe / INSTALL.BAT < prev    next >
DOS Batch File  |  2005-11-17  |  22KB  |  852 lines

  1. @echo off
  2.  
  3. cls 
  4.  
  5. :: "Enough is Enough": The Internet Explorer Lockdown Utility
  6. ::
  7. :: Created by Eric L. Howes
  8. ::            eburger68@myrealbox.com
  9. ::            http://www.staff.uiuc.edu/~ehowes/
  10. ::
  11. :: Copyright (c) 2000-2002 Eric L. Howes
  12. ::
  13. :: This program is free software; you can redistribute it and/or modify it under
  14. :: the terms of the GNU General Public License as published by the Free Software
  15. :: Foundation; either version 2, or (at your option) any later version.
  16. ::
  17. :: This program is distributed in the hope that it will be useful, but WITHOUT ANY
  18. :: WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
  19. :: A PARTICULAR PURPOSE.  See the GNU General Public License for more details.
  20. ::
  21. :: Some files distributed with this package may not be covered by the GNU GPL. Those
  22. :: files remain the property of their original owners and are covered by the licenses
  23. :: under which they were originally distributed.
  24. ::
  25. :: All trademarks are the property of their respective owners.
  26. ::
  27. :: You should have received a copy of the GNU General Public License along with this
  28. :: program; see the file COPYING.  If not, write to the Free Software Foundation,
  29. :: 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
  30.  
  31. ::********************************************************************
  32. ::CHOICE Installation
  33. ::********************************************************************
  34.  
  35. :: Check for NT or 9x
  36. if exist %WINDIR%\SYSTEM32\CONFIG goto prep-nt
  37.  
  38. :: ---------------
  39. :: Copy choice.com
  40. :: ---------------
  41. :prep-9x
  42.  
  43. if exist %WINDIR%\command\choice.com goto CHK-IE6
  44. if exist %WINDIR%\choice.com goto CHK-IE6
  45.  
  46. copy choice\choice.com %WINDIR%
  47.  
  48. goto CHK-IE6
  49.  
  50. :: ---------------
  51. :: Copy choice.exe
  52. :: ---------------
  53. :prep-nt
  54.  
  55. if exist %WINDIR%\command\choice.exe goto CHK-IE6
  56. if exist %WINDIR%\choice.exe goto CHK-IE6
  57.  
  58. copy choice\choice.exe %WINDIR%
  59.  
  60. goto CHK-IE6
  61.  
  62. ::********************************************************************
  63. :CHK-IE6
  64. ::********************************************************************
  65.  
  66. :: -------------
  67. :: Check FOR IE6
  68. :: -------------
  69.  
  70.   :: Delete previous check.reg
  71.   if exist check.reg del check.reg>nul
  72.  
  73.   :: Check for IE6 - this file will be used during installation
  74.   start /w regedit /e check.reg "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\P3P"
  75.  
  76. ::********************************************************************
  77. :1ST-BCK
  78. ::********************************************************************
  79.  
  80. :: ----------------
  81. :: Check for Backup
  82. :: ----------------
  83.  
  84.    if exist backup\back-1.reg goto MENU
  85.  
  86. :: ------------------
  87. :: Backup IE Settings
  88. :: ------------------
  89. :PRE-INST
  90.  
  91.    :: Backup...
  92.  
  93.    md backup
  94.  
  95.    start /w regedit /e backup\back-1.reg "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main"
  96.    start /w regedit /e backup\back-2.reg "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings"
  97.  
  98. :: Note: the following keys are related to AutoComplete and Profile Assistant. They
  99. :: are commented out here and everywhere else in this batch file.
  100.  
  101. :: start /w regedit /e backup\back-3.reg HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\AutoComplete
  102. :: start /w regedit /e backup\back-4.reg "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Security"
  103. :: start /w regedit /e backup\back-5.reg "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\IntelliForms"
  104.  
  105.    if exist backup\back-1.reg goto BCK-NOT
  106.    goto ERROR
  107.  
  108. :: -------------
  109. :: Backup Notice
  110. :: -------------
  111. :BCK-NOT
  112.  
  113.    echo.
  114.    echo    ---------------------------------------
  115.    echo         Welcome to Enough is Enough!:
  116.    echo.
  117.    echo    The Internet Explorer Lockdown Utility!
  118.    echo    ---------------------------------------
  119.    echo.
  120.    echo    Your current Internet Explorer settings been backed up.
  121.    if exist check.reg echo.
  122.    if exist check.reg echo    Note: It looks like you're using Internet Explorer 6.0.
  123.    echo          If you're not running IE 6.0, exit from the main
  124.    echo          menu (which is next) and check the Compatibility  
  125.    echo          section of the ReadMe.txt for advice on getting 
  126.    echo          Enough is Enough! to recognize your version of 
  127.    echo          Internet Explorer properly.   
  128.    echo.
  129.    pause
  130.  
  131.    goto MENU
  132.  
  133. ::********************************************************************
  134. :MENU
  135. ::********************************************************************
  136.  
  137. cls
  138.  
  139. :: -------------------------------
  140. :: Give the main menu with choices
  141. :: -------------------------------
  142.  
  143. echo.
  144. echo                   Welcome to 
  145. echo     ---------------------------------------
  146. echo               Enough is Enough!
  147. echo.
  148. echo     The Internet Explorer Lockdown Utility!
  149. echo     ---------------------------------------
  150. echo.
  151. echo.
  152. echo                ** Main Menu **
  153. echo.
  154. echo.
  155. echo    [1] INSTALL (complete)
  156. echo.
  157. echo    [2] UNINSTALL (complete or partial)
  158. echo.
  159. echo    [3] Exit
  160. echo.
  161.  
  162. :: ----------
  163. :: Get choice
  164. :: ----------
  165.  
  166. echo    What do you want to do?
  167.  
  168. choice /c:1234 /n /t:4,90 
  169.  
  170. if errorlevel 4 goto MENU
  171. if errorlevel 3 goto FIN
  172. if errorlevel 2 goto UNINST
  173. if errorlevel 1 goto INSTALL
  174.  
  175. goto MENU
  176.  
  177.  
  178. ::********************************************************************
  179. :INSTALL
  180. ::********************************************************************
  181.  
  182. cls
  183.  
  184. :: ---------------
  185. :: Confirm Install
  186. :: ---------------
  187.  
  188.    echo.
  189.    echo                      ** CONFIRM INSTALL **
  190.    echo. 
  191.    echo.
  192.    echo    This will install Enough is Enough! 
  193.    echo.    
  194.    echo    * Internet and Restricted sites zones will be locked down.
  195.    echo    * Cookies will be severely restricted (but not disabled).
  196.    echo    * Install on Demand and Third-party Browser Extensions
  197.    echo      will be disabled.
  198.    echo    * IE PowerTweaks WebZone will be installed.
  199.    echo.
  200.    echo    If you don't understand the changes that Enough is Enough! will
  201.    echo    make to Internet Explorer, please consult the ReadMe.txt for
  202.    echo    details and explanations.
  203.    echo.
  204.    echo    Are you sure that you want to install Enough is Enough?  
  205.    echo. 
  206.    echo       [1] YES - I've had enough! Install it!
  207.    echo       [2] NO  - I'm not sure, return to main menu...
  208.  
  209.    choice /c:123 /n /t:3,90
  210.  
  211.    if errorlevel 3 goto INSTALL
  212.    if errorlevel 2 goto MENU
  213.    if errorlevel 1 goto GO-INST
  214.  
  215. goto INSTALL
  216.  
  217. ::------
  218. :GO-INST
  219. ::------
  220.  
  221. cls
  222.  
  223. :: ------------------------------------------------------------
  224. :: Check if we have IE6, and jump to the appropriate label.
  225. :: ------------------------------------------------------------
  226.  
  227.   :: Check if we have IE6
  228.   if exist check.reg goto IE6-INST
  229.  
  230. ::-------
  231. :IE5-INST
  232. ::-------
  233.  
  234.    :: file check
  235.  
  236. :: if not exist set\autoprof.reg goto IN-FILE
  237.    if not exist set\advanced.reg goto IN-FILE
  238.    if not exist set\htaoff.reg goto IN-FILE
  239.    if not exist set\ie5-cook.reg goto IN-FILE
  240.    if not exist set\iz-set.reg goto IN-FILE
  241. :: if not exist set\mz-set.reg goto IN-FILE
  242.    if not exist set\rz-set.reg goto IN-FILE
  243.    if not exist webzone\webzone.inf goto IN-FILE
  244.    if not exist webzone\webzone.dll goto IN-FILE
  245.  
  246.    :: install .REG files
  247.  
  248. :: start /w regedit.exe /s set\autoprof.reg
  249.    start /w regedit.exe /s set\advanced.reg
  250.    start /w regedit.exe /s set\htaoff.reg
  251.    start /w regedit.exe /s set\ie5-cook.reg
  252.    start /w regedit.exe /s set\iz-set.reg
  253. :: start /w regedit.exe /s set\mz-set.reg
  254.    start /w regedit.exe /s set\rz-set.reg
  255.  
  256.    :: check for previous install of WebZone
  257.  
  258.    if exist %WINDIR%\SYSTEM\webzone.dll goto SUCCESS
  259.    if exist %WINDIR%\SYSTEM32\webzone.dll goto SUCCESS
  260.  
  261.    :: install WebZone
  262.  
  263.    start /w RunDll32 advpack.dll,LaunchINFSection webzone\webzone.inf, DefaultInstall
  264.  
  265.    :: confirm installation
  266.  
  267.    if exist %WINDIR%\SYSTEM\webzone.dll goto SUCCESS
  268.    if exist %WINDIR%\SYSTEM32\webzone.dll goto SUCCESS
  269.  
  270.    goto ERROR
  271.  
  272. ::-------
  273. :IE6-INST
  274. ::-------
  275.  
  276.    :: file check
  277.  
  278. :: if not exist set\autoprof.reg goto IN-FILE
  279.    if not exist set\advanced.reg goto IN-FILE
  280.    if not exist set\htaoff.reg goto IN-FILE
  281.    if not exist set\ie6-cook.reg goto IN-FILE
  282.    if not exist set\iz-set.reg goto IN-FILE
  283. :: if not exist set\mz-set.reg goto IN-FILE
  284.    if not exist set\rz-set.reg goto IN-FILE
  285.    if not exist set\ie6-set.reg goto IN-FILE
  286.    if not exist webzone\webzone.inf goto IN-FILE
  287.    if not exist webzone\webzone.dll goto IN-FILE
  288.  
  289.    :: install .REG files
  290.  
  291. :: start /w regedit.exe /s set\autoprof.reg
  292.    start /w regedit.exe /s set\advanced.reg
  293.    start /w regedit.exe /s set\htaoff.reg
  294.    start /w regedit.exe /s set\ie6-cook.reg
  295.    start /w regedit.exe /s set\iz-set.reg
  296. :: start /w regedit.exe /s set\mz-set.reg
  297.    start /w regedit.exe /s set\rz-set.reg
  298.    start /w regedit.exe /s set\ie6-set.reg
  299.  
  300.    :: check for previous install of WebZone
  301.  
  302.    if exist %WINDIR%\SYSTEM\webzone.dll goto SUCCESS
  303.    if exist %WINDIR%\SYSTEM32\webzone.dll goto SUCCESS
  304.  
  305.    :: install WebZone
  306.  
  307.    start /w RunDll32 advpack.dll,LaunchINFSection webzone\webzone.inf, DefaultInstall
  308.  
  309.    :: confirm installation
  310.  
  311.    if exist %WINDIR%\SYSTEM\webzone.dll goto SUCCESS
  312.    if exist %WINDIR%\SYSTEM32\webzone.dll goto SUCCESS
  313.  
  314.    goto ERROR
  315.  
  316. :: --------------
  317. :: No Proper File
  318. :: --------------
  319. :IN-FILE
  320.  
  321.    echo.
  322.    echo.
  323.    echo    ...but one of the files needed for installation could  
  324.    echo   not be found. Consequently, Enough is Enough! has NOT 
  325.    echo   been installed.
  326.    echo.
  327.    echo   Please correct this problem and try again.
  328.    echo.
  329.    pause  (Press Any Key to Return to Main Menu)
  330.  
  331.    goto MENU
  332.  
  333.  
  334. ::********************************************************************
  335. :UNINST
  336. ::********************************************************************
  337.  
  338. cls
  339.  
  340. ::-------
  341. :UN-MENU
  342. ::-------
  343.  
  344. echo.
  345. echo.
  346. echo             ** Uninstall Menu **
  347. echo.
  348. echo.
  349. echo    [1] Uninstall All
  350. echo.
  351. echo    [2] Uninstall, but leave WebZone
  352. echo.
  353. echo    [3] Uninstall WebZone only
  354. echo.
  355. echo    [4] Restore Default IE6 Cookie Settings only
  356. echo.
  357. echo    [5] Return to Main Menu
  358. echo.
  359.  
  360. :: ----------
  361. :: Get choice
  362. :: ----------
  363.  
  364. echo    What do you want to uninstall or restore?
  365.  
  366. choice /c:123456 /n /t:6,90 
  367.  
  368. if errorlevel 6 goto UNINST
  369. if errorlevel 5 goto MENU
  370. if errorlevel 4 goto UN-IE6
  371. if errorlevel 3 goto UN-WZ
  372. if errorlevel 2 goto UN-PART
  373. if errorlevel 1 goto UN-ALL
  374.  
  375. goto UN-MENU
  376.  
  377. ::-------
  378. :UN-ALL
  379. ::-------
  380.  
  381. cls
  382.  
  383. :: -----------------
  384. :: Confirm Uninstall
  385. :: -----------------
  386.  
  387.    echo.
  388.    echo              ** CONFIRM COMPLETE UNINSTALL **
  389.    echo. 
  390.    echo.
  391.    echo    This will completely uninstall Enough is Enough! 
  392.    echo.    
  393.    echo    * Your Internet Explorer settings will be restored
  394.    echo      to the state before you installed.
  395.    echo    * WebZone will be uninstalled.
  396.    echo.
  397.    echo    Are you sure that you want to completely uninstall Enough is Enough?  
  398.    echo. 
  399.    echo       [1] YES - uninstall it.
  400.    echo       [2] NO  - return to main menu.
  401.  
  402.    choice /c:123 /n /t:3,90
  403.  
  404.    if errorlevel 3 goto UN-ALL
  405.    if errorlevel 2 goto MENU
  406.    if errorlevel 1 goto RMV-ALL
  407.  
  408. goto UN-ALL
  409.  
  410.    ::------
  411.    :RMV-ALL
  412.    ::------
  413.  
  414.    :: file check
  415.  
  416.    if not exist backup\back-1.reg goto NO-FILE
  417.    if not exist backup\back-2.reg goto NO-FILE
  418. :: if not exist backup\back-3.reg goto NO-FILE
  419. :: if not exist backup\back-4.reg goto NO-FILE
  420.    if not exist set\htaon-9x.reg goto NO-FILE
  421.    if not exist set\htaon-nt.reg goto NO-FILE
  422.  
  423.    :: uninstall .REG files
  424.  
  425.    start /w regedit.exe /s backup\back-1.reg
  426.    start /w regedit.exe /s backup\back-2.reg
  427. :: start /w regedit.exe /s backup\back-3.reg
  428. :: start /w regedit.exe /s backup\back-4.reg
  429.  
  430.    if exist %windir%\system32\mshta.exe goto HTA-UN-NT
  431.  
  432.    start /w regedit.exe /s set\htaon-9x.reg
  433.  
  434.    goto CONT-UN
  435.  
  436.    :HTA-UN-NT
  437.  
  438.    start /w regedit.exe /s set\htaon-nt.reg
  439.  
  440. :: if not exist backup\back-5.reg goto CONT-UN
  441.  
  442. :: start /w regedit.exe /s backup\back-5.reg
  443.  
  444.    :CONT-UN
  445.  
  446.    :: check for install of Power Tweaks Web Accessories
  447.  
  448.    start /w regedit /e ie5wa.reg HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\IE5WA
  449.    if exist ie5wa.reg goto SUCC-2
  450.  
  451.    :: check for previous uninstall of WebZone
  452.  
  453.    if not exist %WINDIR%\INF\webzone.inf goto SUCC-1
  454.  
  455.    :: uninstall WebZone
  456.  
  457.    start /w RunDll32 advpack.dll,LaunchINFSection %WINDIR%\inf\webzone.inf, Uninstall
  458.  
  459.    :: confirm uninstallation
  460.  
  461.    if exist %WINDIR%\SYSTEM\webzone.dll goto ERROR
  462.    if exist %WINDIR%\SYSTEM32\webzone.dll goto ERROR
  463.  
  464.    goto SUCC-1
  465.  
  466. ::-------
  467. :UN-PART
  468. ::-------
  469.  
  470. cls
  471.  
  472. :: -----------------
  473. :: Confirm Uninstall
  474. :: -----------------
  475.  
  476.    echo.
  477.    echo              ** CONFIRM PARTIAL UNINSTALL **
  478.    echo. 
  479.    echo.
  480.    echo    This will uninstall Enough is Enough! but leave WebZone. 
  481.    echo.    
  482.    echo    * Your Internet Explorer settings will be restored
  483.    echo      to the state before you installed.
  484.    echo    * WebZone will NOT be uninstalled.
  485.    echo.
  486.    echo    Are you sure that you want to uninstall Enough is Enough?  
  487.    echo. 
  488.    echo       [1] YES - uninstall it.
  489.    echo       [2] NO  - return to main menu.
  490.  
  491.    choice /c:123 /n /t:3,90
  492.  
  493.    if errorlevel 3 goto UN-PART
  494.    if errorlevel 2 goto MENU
  495.    if errorlevel 1 goto RMV-PART
  496.  
  497. goto UN-PART
  498.  
  499.    ::-------
  500.    :RMV-PART
  501.    ::-------
  502.  
  503.    :: file check
  504.  
  505.    if not exist backup\back-1.reg goto NO-FILE
  506.    if not exist backup\back-2.reg goto NO-FILE
  507. :: if not exist backup\back-3.reg goto NO-FILE
  508. :: if not exist backup\back-4.reg goto NO-FILE
  509.    if not exist set\htaon-9x.reg goto NO-FILE
  510.    if not exist set\htaon-nt.reg goto NO-FILE
  511.  
  512.    :: uninstall .REG files
  513.  
  514.    start /w regedit.exe /s backup\back-1.reg
  515.    start /w regedit.exe /s backup\back-2.reg
  516. :: start /w regedit.exe /s backup\back-3.reg
  517. :: start /w regedit.exe /s backup\back-4.reg
  518.  
  519.    if exist %windir%\system32\mshta.exe goto HTA-UN-2K
  520.  
  521.    start /w regedit.exe /s set\htaon-9x.reg
  522.  
  523.    goto CONT-PT
  524.  
  525.    :HTA-UN-2K
  526.  
  527.    start /w regedit.exe /s set\htaon-nt.reg
  528.  
  529. :: if not exist backup\back-5.reg goto SUCC-3
  530.  
  531. :: start /w regedit.exe /s backup\back-5.reg
  532.  
  533.    :CONT-PT
  534.  
  535.    goto SUCC-3
  536.  
  537. ::-------
  538. :UN-WZ
  539. ::-------
  540.  
  541. cls
  542.  
  543. :: -----------------
  544. :: Confirm Uninstall
  545. :: -----------------
  546.  
  547.    echo.
  548.    echo              ** CONFIRM WEBZONE UNINSTALL **
  549.    echo. 
  550.    echo.
  551.    echo    This will uninstall WebZone but leave your current Internet
  552.    echo    Explorer settings. 
  553.    echo.
  554.    echo    Are you sure that you want to uninstall WebZone?  
  555.    echo. 
  556.    echo       [1] YES - uninstall it.
  557.    echo       [2] NO  - return to main menu.
  558.  
  559.    choice /c:123 /n /t:3,90
  560.  
  561.    if errorlevel 3 goto UN-WZ
  562.    if errorlevel 2 goto MENU
  563.    if errorlevel 1 goto RMV-WZ
  564.  
  565. goto UN-WZ
  566.  
  567.    ::-----
  568.    :RMV-WZ
  569.    ::-----
  570.  
  571.  
  572.    :: check for install of PowerTweaks WebAccessories
  573.  
  574.    start /w regedit /e ie5wa.reg HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\IE5WA
  575.    if exist ie5wa.reg goto IE5WA
  576.  
  577.    :: check for previous uninstall of WebZone
  578.  
  579.    if not exist %WINDIR%\INF\webzone.inf goto SUCC-4
  580.  
  581.    :: uninstall WebZone
  582.  
  583.    start /w RunDll32 advpack.dll,LaunchINFSection %WINDIR%\inf\webzone.inf, Uninstall
  584.  
  585.    :: confirm uninstallation
  586.  
  587.    if exist %WINDIR%\SYSTEM\webzone.dll goto ERROR
  588.    if exist %WINDIR%\SYSTEM32\webzone.dll goto ERROR
  589.  
  590.    goto SUCC-4
  591.  
  592. ::-------
  593. :UN-IE6
  594. ::-------
  595.  
  596. cls
  597.  
  598. :: -----------------
  599. :: Confirm Uninstall
  600. :: -----------------
  601.  
  602.    echo.
  603.    echo            ** CONFIRM RESTORE IE 6.0 COOKIES SETTINGS **
  604.    echo. 
  605.    echo.
  606.    echo    This will restore *default* Internet Explorer 6.0 cookie settings, not
  607.    echo    your own *original* cookie settings. All other settings will be unchanged.
  608.    echo.
  609.    echo    * Default IE 6.0 settings will be restored.
  610.    echo    * All other security settings will be left alone.
  611.    echo    * WebZone will NOT be uninstalled.
  612.    echo.
  613.    echo    Are you sure that you want to restore *default* Internet Explorer 6.0 
  614.    echo    cookie settings?  
  615.    echo. 
  616.    echo       [1] YES - restore the default cookie settings.
  617.    echo       [2] NO  - return to main menu.
  618.  
  619.    choice /c:123 /n /t:3,90
  620.  
  621.    if errorlevel 3 goto UN-IE6
  622.    if errorlevel 2 goto MENU
  623.    if errorlevel 1 goto RMV-IE6
  624.  
  625. goto UN-IE6
  626.  
  627.    ::------
  628.    :RMV-IE6
  629.    ::------
  630.  
  631.    :: file check and IE6 check
  632.  
  633.    if not exist set\ie6-def.reg goto NO-FILE
  634.    if not exist check.reg goto NO-IE6
  635.  
  636.    :: restore IE6 settings with .REG file
  637.  
  638.    start /w regedit.exe /s set\ie6-def.reg
  639.  
  640.    goto SUCC-5
  641.  
  642. :: --------------
  643. :: No Proper File
  644. :: --------------
  645. :NO-FILE
  646.  
  647.    echo.
  648.    echo.
  649.    echo    ...but one of the files needed for uninstallation could  
  650.    echo   not be found. Consequently, Enough is Enough! has NOT 
  651.    echo   been uninstalled.
  652.    echo.
  653.    echo   Please correct this problem and try again.
  654.    echo.
  655.    pause  (Press Any Key to Return to Main Menu)
  656.  
  657.    goto MENU
  658.  
  659. ::********************************************************************
  660. :NO-IE6
  661. ::********************************************************************
  662.  
  663.      cls
  664.  
  665.      echo.
  666.      echo.
  667.      echo    Sorry, but Internet Explorer 6.0 is not installed
  668.      echo    on this computer.
  669.      echo.
  670.      echo.
  671.      pause
  672.      goto RETURN
  673.  
  674. ::********************************************************************
  675. :ERROR
  676. ::********************************************************************
  677.  
  678.      cls
  679.  
  680.      echo.
  681.      echo.
  682.      echo    An error ocurred while performing this task...
  683.      echo.
  684.      echo.
  685.      pause
  686.      goto RETURN
  687.  
  688. ::********************************************************************
  689. :SUCCESS
  690. ::********************************************************************
  691.  
  692.      cls
  693.   
  694.      echo.
  695.      echo.
  696.      echo    SUCCESS!!
  697.      echo.
  698.      echo    Enough is Enough! has been installed on this computer.
  699.      echo.
  700.      echo    Note: If the IE Toolbar zone buttons do not appear on
  701.      echo          your IE toolbar, then the full IE Power Tweaks
  702.      echo          Web Accessories package from Microsoft was already
  703.      echo          installed on your PC. To install just the Toolbar 
  704.      echo          zone buttons, you can run INST-BUT.BAT.
  705.  
  706.      goto RETURN
  707.  
  708. ::********************************************************************
  709. :SUCC-1
  710. ::********************************************************************
  711.  
  712.      cls
  713.   
  714.      echo.
  715.      echo.
  716.      echo    SUCCESS!!
  717.      echo.
  718.      echo    Enough is Enough! has been removed from this computer.
  719.      echo.
  720.      
  721.      goto RETURN
  722.  
  723. ::********************************************************************
  724. :SUCC-2
  725. ::********************************************************************
  726.  
  727.      cls
  728.   
  729.      echo.
  730.      echo.
  731.      echo    SUCCESS!!
  732.      echo.
  733.      echo    Enough is Enough! has been removed from this computer.
  734.      echo.
  735.      echo    Note: WebZone was NOT removed because IE5 Power Tweaks
  736.      echo          Web Accessories is installed on this computer. If you
  737.      echo          wish to uninstall WebZone, uninstall the IE5 Power Tweaks
  738.      echo          Web Accessories through Add-Remove Programs in the
  739.      echo          Control Panel.
  740.      echo.
  741.      
  742.      del ie5wa.reg>nul
  743.  
  744.      goto RETURN
  745.  
  746. ::********************************************************************
  747. :SUCC-3
  748. ::********************************************************************
  749.  
  750.      cls
  751.   
  752.      echo.
  753.      echo.
  754.      echo    SUCCESS!!
  755.      echo.
  756.      echo    Enough is Enough! has been removed from this computer.
  757.      echo    The WebZone Accessory was left.
  758.      echo.
  759.  
  760.      goto RETURN
  761.  
  762. ::********************************************************************
  763. :SUCC-4
  764. ::********************************************************************
  765.  
  766.      cls
  767.   
  768.      echo.
  769.      echo.
  770.      echo    SUCCESS!!
  771.      echo.
  772.      echo    The WebZone Accessory has been removed from this computer. The
  773.      echo    Enough is Enough! Privacy and Security configuration changes
  774.      echo    to Internet Explorer have been left in place.
  775.      echo.
  776.  
  777.      goto RETURN
  778.  
  779. ::********************************************************************
  780. :SUCC-5
  781. ::********************************************************************
  782.  
  783.      cls
  784.   
  785.      echo.
  786.      echo.
  787.      echo    SUCCESS!!
  788.      echo.
  789.      echo    Default Internet Explorer 6.0 cookies settings have been
  790.      echo    restored on this computer. No other changes were made.
  791.      echo.
  792.  
  793.      goto RETURN
  794.  
  795. ::********************************************************************
  796. :IE5WA
  797. ::********************************************************************
  798.  
  799.      cls
  800.   
  801.      echo.
  802.      echo.
  803.      echo    WebZone was NOT removed because IE5 Power Tweaks Web
  804.      echo    Accessories is installed on this computer. If you
  805.      echo    wish to uninstall WebZone, uninstall the IE5 Power
  806.      echo    Tweaks Web Accessories through Add-Remove Programs
  807.      echo    in the Control Panel.
  808.      echo.
  809.  
  810.      del ie5wa.reg>nul
  811.  
  812.      goto RETURN
  813.  
  814. ::********************************************************************
  815. :RETURN
  816. ::********************************************************************
  817.   
  818. :: -----------------
  819. :: Give Choice Again
  820. :: -----------------
  821.  
  822.      echo.
  823.      echo    What do you want to do now?
  824.      echo.
  825.      echo    [1] Return to Main Menu
  826.      echo    [2] Exit
  827.      echo.
  828.  
  829.      choice /c:123 /n /t:3,90
  830.  
  831.      if errorlevel 3 goto menu
  832.      if errorlevel 2 goto fin
  833.      if errorlevel 1 goto menu
  834.  
  835. ::********************************************************************
  836. :FIN
  837. ::********************************************************************
  838.  
  839.   :: Delete previous check.reg
  840.   if exist check.reg del check.reg>nul
  841.  
  842.    cls
  843.  
  844.    echo.
  845.    echo.
  846.    echo    So, you've had enough of Enough is Enough?
  847.    echo.
  848.    echo.
  849.    echo    Bye for now...
  850.    echo.
  851.    echo.
  852.